package com.anycl.design.behavioral.template;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ConcreteTemplateA extends AbstractTemplate {
    @Override
    protected void abstractMethod() {
       log.info("A子类中重写的抽象方法");
    }

    @Override
    protected void hookMethod() {
        log.info("A子类重写钩子方法");
    }
}
